import {NgModule} from "@angular/core";
import {BrowserModule} from "@angular/platform-browser";
import {FormsModule} from "@angular/forms";
import {HeroDetailComponent} from "./hero-detail.component";
import {HeroService} from "./hero.service";
import {HeroesComponent} from "./heroes.component";
import {AppComponent} from "./app.component";
import {routing} from "./app.routing";
import {DashboardComponent} from "./dashboard.component";
import {Store} from "./store";

@NgModule({
  imports: [BrowserModule, FormsModule, routing],
  declarations: [
    AppComponent, HeroesComponent, HeroDetailComponent, DashboardComponent
  ],
  providers: [HeroService, Store],
  bootstrap: [AppComponent]
})
export class AppModule {
}
